﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Wz.Entities
{
    /// <summary>
    /// 物资入库
    /// </summary>
    public class Warehousing : BasicAggregateRoot<Guid>
    {
        public string ProName { get; set; }//货物名称
        public string ProType { get; set; }//类型
        public string Material { get; set; }//材质
        public string Specs { get; set; }//规格
        public string Productions1 { get; set; }//产地国
        public string Productions2 { get; set; }//产地省
        public int Num { get; set; }//数量
        public decimal Price { get; set; }//单价
        public string PayType { get; set; }//支付方式
        public string Registrant { get; set; }//登记人
        public int Deleted { get; }//是否删除
        public string Remarks { get; set; }//备注
        public DateTime CreateTime { get; set; }//创建时间
        /// <summary>
        /// 构造函数
        /// </summary>
        public Warehousing()
        {

        }
        public Warehousing(Guid id, DateTime createTime, DateTime createTime1, string creatorName, int deleted, String LibraryName, String paymentid, String typeid, String textureid,
            String specification, String productions1, String productions2, decimal price, int num, String remark)
        {
            Id = id;
            CreateTime = createTime;
            Registrant = creatorName;
            Deleted = deleted;
            ProName = LibraryName;
            PayType = paymentid;
            ProType = typeid;
            Material = textureid;
            Specs = specification;
            Productions1 = productions1;
            Productions2 = productions2;
            Price = price;
            Num = num;
            Remarks = remark;
        }
    }
}
